import {
	request
} from '@/utils/request.js';

/**
 * @description 字典
 * 
 */
export function dict(query) {
	return request({
		url: 'dict/list/all',
		method: 'GET',
		data: query

	})
}

/**
 * @description 用户登录
 * @param mobile（手机号码）
 * @param code（身份证后四位）
 */
export function login(query) {
	return request({
		url: 'auth/h5/login?mobile=' + query.mobile + '&code=' + query.code,
		method: 'POST'
	})
}

/**
 * @description 党员分析
 * 
 */
export function dangyuanfenxi(query) {
	return request({
		url: 'ascreen/home/dyInfo/ajax',
		method: 'POST',
		data: query
	})
}

/**
 * @description 参政议政大屏
 * 
 */
export function canzhengdaping(query) {
	return request({
		url: 'ascreen/home/czyyzHome/ajax',
		method: 'POST',
		data: query
	})
}


/**
 * @description 宣传报道-首页详情（大屏）
 * 
 */
export function xcbdDetailHome(query) {
	return request({
		url: 'ascreen/home/xcbdDetailHome/ajax',
		method: 'POST',
		data: query
	})
}

/**
 * @description 组织活动大屏
 * 
 */
export function zuzhihuodongdaping(query) {
	return request({
		url: 'ascreen/home/swhhdHome/ajax',
		method: 'POST',
		data: query
	})
}

/**
 * @description 扶贫工作列表
 * 
 */
export function fupin(query) {
	return request({
		url: 'ascreen/home/fpgzHomeList/ajax',
		method: 'POST',
		data: query
	})
}

/**
 * @description 宣传文章列表
 * 
 */
export function xuanchuanwenzhang(query) {
	return request({
		url: 'ascreen/home/xcwzHomeList/ajax',
		method: 'POST',
		data: query
	})
}

/**
 * @description 社情民意-首页详情（大屏）
 * 
 */
export function sqmyDetailHome(query) {
	return request({
		url: 'ascreen/home/sqmyDetailHome/ajax',
		method: 'POST',
		data: query
	})
}

/**
 * @description 社会服务列表
 * 
 */
export function shfwHomeApp(query) {
	return request({
		url: 'ascreen/home/shfwHomeApp/ajax',
		method: 'POST',
		data: query
	})
}




/**
 * @description 组织发展
 * 
 */
export function zzfzHomeApp(query) {
	return request({
		url: 'ascreen/home/zzfzHomeApp/ajax',
		method: 'POST',
		data: query
	})
}




/**
 * @description 祖统工作列表
 * 
 */
export function ztgzHomeListApp(query) {
	return request({
		url: 'ascreen/home/ztgzHomeListApp/ajax',
		method: 'POST',
		data: query
	})
}

/**
 * @description 获奖列表
 * 
 */
export function gzhjHomeCount(query) {
	return request({
		url: 'ascreen/home/gzhjHomeCount/ajax',
		method: 'POST',
		data: query
	})
}



/**党员页面
 * @description 党员缴费情况
 * 
 */
export function payHomeInfo(query) {
	return request({
		url: 'ascreen/home/payHomeInfo/ajax',
		method: 'POST',
		data: query
	})
}


/**党员页面
 * @description 党员列表
 * 
 */
export function partyMemberHomeList(query) {
	return request({
		url: 'ascreen/home/partyMemberHomeList/ajax',
		method: 'POST',
		data: query
	})
}
/**参政议政页面
 * @description 参政议政-首页详情（大屏）
 * 
 */
export function czyyzDetailHome(query) {
	return request({
		url: 'ascreen/home/czyyzDetailHome/ajax',
		method: 'POST',
		data: query
	})
}

/**组织活动
 * @description 组织活动
 * 
 */
export function swhhdHomeApp(query) {
	return request({
		url: 'ascreen/home/swhhdHomeApp/ajax',
		method: 'POST',
		data: query
	})
}

/**民革获奖
 * @description 民革工作奖列表
 * 
 */
export function mggzhjHomeList(query) {
	return request({
		url: 'ascreen/home/mggzhjHomeList/ajax',
		method: 'POST',
		data: query
	})
}

/**本职获奖
 * @description 本职工作奖列表
 * 
 */
export function bzgzhjHomeList(query) {
	return request({
		url: 'ascreen/home/bzgzhjHomeList/ajax',
		method: 'POST',
		data: query
	})
}

/**党员详情
 * @description 党员详情
 * 
 */
export function partyMemberHomeInfo(query) {
	return request({
		url: 'ascreen/home/partyMemberHomeInfo/ajax',
		method: 'POST',
		data: query
	})
}


/**党员人数走势
 * @description 党员人数走势
 * 
 */
export function partyMemberHomeYearInfo(query) {
	return request({
		url: 'ascreen/home/partyMemberHomeYearInfo/ajax',
		method: 'POST',
		data: query
	})
}



/**男女比例
 * @description 男女比例
 * 
 */
export function sex(query) {
	return request({
		url: 'ascreen/home/sex/ajax',
		method: 'POST',
		data: query
	})
}



/**学历比例
 * @description 学历比例
 * 
 */
export function education(query) {
	return request({
		url: 'ascreen/home/education/ajax',
		method: 'POST',
		data: query
	})
}


/**
 * @description 获取2019年至今年份
 * 
 */
export function lastYear(query) {
	return request({
		url: 'ascreen/home/lastYear/ajax',
		method: 'POST',
		data: query
	})
}



/**
 * @description 党员得分详情
 * 
 */
export function partyMemberHomeScoreList(query) {
	return request({
		url: 'ascreen/home/partyMemberHomeScoreList/ajax',
		method: 'POST',
		data: query
	})
}

/**
 * @description 判断是否是管理员用户
 * 
 */
export function admin(query) {
	return request({
		url: 'ascreen/home/admin/ajax',
		method: 'POST',
		data: query
	})
}
